<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ViewerSelect</title>
<meta http-equiv="Content-Type" Content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../styles/styles.css">
<script language="javascript" src='../links.js' type="text/javascript"></script>
</head>

<body>
<h1>ViewerSelect</h1>
<div class=navbar>
<a href="../index.html">main</a> |
<a  href="index.html">structures</a><br>
</div>

<div class=shortdescr>
The <dfn>ViewerSelect</dfn> structure is used to select a block in the internal viewer.
</div>

<pre class=syntax>
struct ViewerSelect
{
   FARINT64 BlockStartPos;
   int  BlockLen;
};
</pre>

<h3>Elements</h3>
<div class=descr>
  <div class=dfn>BlockStartPos</div>
  <div class=dfndescr>Selection start - in characters, not in bytes. This means that if the viewer
  is in <b>Unicode</b> mode, <dfn>BlockStartPos</dfn> will equal - position in file / 2.</div>

  <div class=dfn>BlockLen</div>
  <div class=dfndescr>Selection length in characters.</div>
</div>

<div class=see>See also:</div><div class=seecont>
<a href="index.html">Structures</a>,
<a href="../service_functions/viewercontrol.html">ViewerControl</a>,
<a href="farint64.html">FARINT64</a>
</div>

</body>
</html>
